package top.xbaoziplus.company.empty;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author xbaozi
 * @description 工资表
 * @TableName tb_salary
 */
@TableName(value ="tb_salary")
@Data
@Accessors(chain = true)
public class Salary implements Serializable {
    /**
     * 工资ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 工号
     */
    private Long jobId;

    /**
     * 工资
     */
    private BigDecimal salary;

    /**
     * 状态：0表示正常，1表示删除
     */
    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}